﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using Archives.Models.Users;
using System.Data.Entity.ModelConfiguration;

namespace Archives.Models.FluentConfiguration
{
    public class RoleConfiguration:EntityTypeConfiguration<Role>
    {
        public RoleConfiguration()
        {
            Property(t => t.Id)
              .HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity);
        }
    }
}